package core.field;

import core.Player;

public class Refuge extends Field {
	private int bonus;

	public Refuge(String name, int bonus){
		this.bonus = bonus;
		this.setName(name);
	}
	public Refuge() {
		
	}
	@Override
	public void landOnField(Player player) {
		player.getKonto().addPoints(bonus);
		
	}
	
	
	@Override
	public String subText() {
		String temp;
		temp = "BONUS! \n" + bonus;
		return temp;
	}

}
